﻿using AutoMapper;
using B.S.DataBase.SuY.Read.Api.AutoList.Command;
using B.S.DataBase.SuYuan.Domain.Model;

namespace B.S.DataBase.SuY.Read.Api
{
    public class AutoMapperFilePro:Profile
    {
        public AutoMapperFilePro() { 
        
        CreateMap<AddGoodsCommand, Goods>().ReverseMap();
            CreateMap<DelGoodesCommand, Goods>().ReverseMap();
            CreateMap<DelListGoodsCommand, Goods>().ReverseMap();
            CreateMap<UpdateGoodsCommand, Goods>().ReverseMap();
        }
    }
}
